Arrow keys / Click to navigate

Cloud Operations on AWS

Module 2: Access Management

Cloud Operations on AWS

Module Overview

Security Credential Types

Credential TypeUsage
Root (account owner)Account creation, termination, other tasks
IAM username/passwordAccess to the AWS Management Console
Access / secret keysAWS CLI and programmatic API/SDK requests
MFAExtra layer of security for root and IAM users

Best practice: never use the root user for day-to-day tasks.

IAM Users, Groups, and Roles

Principle of Least Privilege

Policy Elements

ElementDescriptionRequired
EffectAllow or Deny
PrincipalAccount/user/role (resource-based policies only)
ActionList of allowed/denied actions
ResourceResources the actions apply to
ConditionCircumstances under which the policy applies

Policy Types

Best Practices for IAM

AWS Organizations

Troubleshooting Scenario

Issue: A user does not have permission to assign a new SSMManagedInstanceRole to an EC2 instance.

Cause: The iam:PassRole permission only grants passing roles matching arn:aws:iam:::role/EC2*

Solution: Update the Resource in the PassRole statement to match the specific role name pattern being assigned.

Module Summary

Next: Module 3 — System Discovery

Module 2 Mind Map

Click branch to expand